<?php

class Application_Model_Photo extends Application_Model_ModelAbstract
{
    public $photo_id;
    public $photo_path;
    public $photo_desc;
    public $album_id;

    /**
     * @param $album_id
     */
    public function setAlbumId($album_id)
    {
        $this->album_id = $album_id;
    }

    /**
     * @return int
     */
    public function getAlbumId()
    {
        return $this->album_id;
    }
    /**
     * @param mixed $photo_desc
     */
    public function setPhotoDesc($photo_desc)
    {
        $this->photo_desc = $photo_desc;
    }

    /**
     * @return mixed
     */
    public function getPhotoDesc()
    {
        return $this->photo_desc;
    }

    /**
     * @param mixed $photo_id
     */
    public function setPhotoId($photo_id)
    {
        $this->photo_id = $photo_id;
    }

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->photo_id;
    }

    /**
     * @param mixed $photo_path
     */
    public function setPhotoPath($photo_path)
    {
        $this->photo_path = $photo_path;
    }

    /**
     * @return mixed
     */
    public function getPhotoPath()
    {
        return $this->photo_path;
    }

    public function getThumbPath()
    {
        return '/i/gallery/thumb/' . $this->getPhotoPath();
    }

    public function getPath()
    {
        return '/i/gallery/' . $this->getPhotoPath();
    }

}